package com.hello.booksale.entity;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.RequiredArgsConstructor;
@AllArgsConstructor
@Data
public class BookEntity {
    int bookId;
    String bookName;
    String bookAuthor;
    Double bookPrice;
    String bookDetail;

    int bookSales;
    int bookStock;
    String bookUrl;

    public BookEntity(String bookName, Double bookPrice, String bookDetail, String bookAuthor, int bookSales, int bookStock, String bookUrl) {
        this.bookName = bookName;
        this.bookAuthor = bookAuthor;
        this.bookPrice = bookPrice;
        this.bookDetail=bookDetail;
        this.bookSales = bookSales;
        this.bookStock = bookStock;
        this.bookUrl = bookUrl;
    }
}
